#include <iostream>
using namespace std;

class A
{
public:
	virtual void Fun1()
	{
		cout << "A::Func1()" << endl;
	}
	virtual void Fun2()
	{
		cout << "A::Func2()" << endl;
	}
	void Fun3()
	{
		cout << "A::Func3()" << endl;
	}
protected:
	int _a;
};

class B : public A
{
public:
	virtual void Fun2()
	{
		cout << "B::Func2()" << endl;
	}
protected:
	int _b;
};


int main()
{
	A aa;

	B bb;
	return 0;
}